package com.cn.intelligence.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cn.intelligence.mapper.TbItemDescMapper;
import com.cn.intelligence.pojo.TaotaoResult;
import com.cn.intelligence.service.ItemDescService;

/**
 * 商品详情描述
 * @author Administrator
 *
 */
@Service
public class ItemDescServiceImpl implements ItemDescService{

	@Autowired
	public TbItemDescMapper tbItemDescMapper;
	
	/**
	 * 查询商品详情
	 */
	@Override
	public TaotaoResult getItemDesc(Long ids) {
		return TaotaoResult.ok(tbItemDescMapper.selectByPrimaryKey(ids));
	}

}
